import { ApiResponse } from 'types';
import { request } from '../utils/request';

// API 方法
export const trendAnalysisApi = {
  // 获取趋势分析不同类型的chart内容
  getTrendChartHtml(chartType: string, industry: string) {
    return request.get<any, ApiResponse<{imageUrl: string} | null>>(`/trend/${chartType}?industry=${industry}`);
  }
};
